<%= form_for(@transport, :html => {remote: true, id: "form_transport" }) do |f| %>
  <div class="row-fluid">
    <p class="lead well">
      Please fill description field will full information. thanks.
    </p>
  </div>
  <div class="row-fluid">
    <div class="span6">
      <div class="field">
        <%= f.label :transport_name %><br />
        <%= f.text_field :transport_name %>
        <div id="transport_name_error" class="error-message"></div>
      </div>
    </div>
    <div class="span6">
      <div class="field">
        <%= f.label :person %><br />
        <%= f.number_field :person %>
        <div id="person_error" class="error-message"></div>
      </div>
    </div>
  <div class="row-fluid">
    <div class="span12">
      <div id="ck_editors" class="field">
        <h4>Indonesian Description</h4>
        <%= f.cktext_area :description_idn, style: "width:80%", :ckeditor => {:language => "en", :toolbar => "full"} %>
        <div id="description_idn_error" class="error-message"></div>
      </div>
    </div>
  </div>
  <div class="row-fluid">
    <div class="span12">
      <div id="ck_editors" class="field">
        <h4>English Description</h4>
        <%= f.cktext_area :description_eng, style: "width:80%", :ckeditor => {:language => "en", :toolbar => "full"} %>
        <div id="description_eng_error" class="error-message"></div>
      </div>
    </div>
  </div> </br>   
  <div class="row-fluid alert">
    <div class="span4">
      <div class="field">
        <label class="checkbox">
          <%= f.check_box :is_published %> <%= f.label :is_published %>
        </label>
      </div> 
    </div>
    <div class="span4">
      <div class="field">
        <label class="checkbox">
          <%= f.check_box :is_on_promoted %>
          <%= f.label :is_on_promoted %>
        </label>
      </div>  
    </div>
    <div class="span4">
      <div class="field">
        <label class="checkbox">
          <%= f.check_box :is_recomended %>
          <%= f.label :is_recomended %>
        </label>
      </div> 
    </div>
  </div>
  <div class="field">
    <%= f.label :primary_picture %><br />
    <%= f.file_field :primary_picture %>
    <div id="primary_picture_error" class="error-message"></div>
  </div> <br>
  <div class="actions">
    <%= f.submit "Let's Save", class: "btn btn-large btn-primary" %>
  </div>
<% end %>
